# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'add_item.ui'
#
# Created: Sun Nov 29 17:03:24 2009
#      by: PyQt4 UI code generator 4.4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_frmAddItem(object):
    def setupUi(self, frmAddItem):
        frmAddItem.setObjectName("frmAddItem")
        frmAddItem.resize(374, 421)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(frmAddItem.sizePolicy().hasHeightForWidth())
        frmAddItem.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(frmAddItem)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_13 = QtGui.QLabel(frmAddItem)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setWeight(75)
        font.setBold(True)
        self.label_13.setFont(font)
        self.label_13.setAlignment(QtCore.Qt.AlignCenter)
        self.label_13.setObjectName("label_13")
        self.verticalLayout.addWidget(self.label_13)
        self.line = QtGui.QFrame(frmAddItem)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label = QtGui.QLabel(frmAddItem)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.txtDescr = QtGui.QLineEdit(frmAddItem)
        self.txtDescr.setObjectName("txtDescr")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.txtDescr)
        self.label_2 = QtGui.QLabel(frmAddItem)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.cmbRepo = QtGui.QComboBox(frmAddItem)
        self.cmbRepo.setObjectName("cmbRepo")
        self.cmbRepo.addItem(QtCore.QString())
        self.cmbRepo.addItem(QtCore.QString())
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.cmbRepo)
        self.label_3 = QtGui.QLabel(frmAddItem)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbOrdem = QtGui.QComboBox(frmAddItem)
        self.cmbOrdem.setObjectName("cmbOrdem")
        self.cmbOrdem.addItem(QtCore.QString())
        self.cmbOrdem.addItem(QtCore.QString())
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cmbOrdem)
        self.label_4 = QtGui.QLabel(frmAddItem)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.txtUnMedida = QtGui.QLineEdit(frmAddItem)
        self.txtUnMedida.setObjectName("txtUnMedida")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.txtUnMedida)
        self.label_5 = QtGui.QLabel(frmAddItem)
        self.label_5.setObjectName("label_5")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
        self.txtEstoqueSeguranca = QtGui.QLineEdit(frmAddItem)
        self.txtEstoqueSeguranca.setObjectName("txtEstoqueSeguranca")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.txtEstoqueSeguranca)
        self.label_6 = QtGui.QLabel(frmAddItem)
        self.label_6.setObjectName("label_6")
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)
        self.txtDataCriacao = QtGui.QDateEdit(frmAddItem)
        self.txtDataCriacao.setObjectName("txtDataCriacao")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.txtDataCriacao)
        self.label_7 = QtGui.QLabel(frmAddItem)
        self.label_7.setObjectName("label_7")
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_7)
        self.label_8 = QtGui.QLabel(frmAddItem)
        self.label_8.setObjectName("label_8")
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_8)
        self.txtABC = QtGui.QLineEdit(frmAddItem)
        self.txtABC.setObjectName("txtABC")
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.txtABC)
        self.label_9 = QtGui.QLabel(frmAddItem)
        self.label_9.setObjectName("label_9")
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_9)
        self.txtLeadTime = QtGui.QLineEdit(frmAddItem)
        self.txtLeadTime.setObjectName("txtLeadTime")
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.txtLeadTime)
        self.label_10 = QtGui.QLabel(frmAddItem)
        self.label_10.setObjectName("label_10")
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_10)
        self.txtEstoqueMin = QtGui.QLineEdit(frmAddItem)
        self.txtEstoqueMin.setObjectName("txtEstoqueMin")
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.txtEstoqueMin)
        self.label_11 = QtGui.QLabel(frmAddItem)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_11)
        self.txtLoteReposicao = QtGui.QLineEdit(frmAddItem)
        self.txtLoteReposicao.setObjectName("txtLoteReposicao")
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.txtLoteReposicao)
        self.label_12 = QtGui.QLabel(frmAddItem)
        self.label_12.setObjectName("label_12")
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_12)
        self.txtMultiploLote = QtGui.QLineEdit(frmAddItem)
        self.txtMultiploLote.setCursor(QtCore.Qt.WaitCursor)
        self.txtMultiploLote.setObjectName("txtMultiploLote")
        self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.txtMultiploLote)
        self.txtDataAtualizacao = QtGui.QDateEdit(frmAddItem)
        self.txtDataAtualizacao.setObjectName("txtDataAtualizacao")
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.txtDataAtualizacao)
        self.verticalLayout.addLayout(self.formLayout)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.pushButton_2 = QtGui.QPushButton(frmAddItem)
        self.pushButton_2.setObjectName("pushButton_2")
        self.horizontalLayout.addWidget(self.pushButton_2)
        self.btnSalvar = QtGui.QPushButton(frmAddItem)
        self.btnSalvar.setObjectName("btnSalvar")
        self.horizontalLayout.addWidget(self.btnSalvar)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(frmAddItem)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtDescr.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.cmbRepo.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.cmbOrdem.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtUnMedida.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtEstoqueSeguranca.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtDataCriacao.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtDataAtualizacao.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtABC.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtLeadTime.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtEstoqueMin.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtLoteReposicao.clear)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), self.txtMultiploLote.clear)
        QtCore.QMetaObject.connectSlotsByName(frmAddItem)
        frmAddItem.setTabOrder(self.txtDescr, self.cmbRepo)
        frmAddItem.setTabOrder(self.cmbRepo, self.cmbOrdem)
        frmAddItem.setTabOrder(self.cmbOrdem, self.txtUnMedida)
        frmAddItem.setTabOrder(self.txtUnMedida, self.txtEstoqueSeguranca)
        frmAddItem.setTabOrder(self.txtEstoqueSeguranca, self.txtDataCriacao)
        frmAddItem.setTabOrder(self.txtDataCriacao, self.txtDataAtualizacao)
        frmAddItem.setTabOrder(self.txtDataAtualizacao, self.txtABC)
        frmAddItem.setTabOrder(self.txtABC, self.txtLeadTime)
        frmAddItem.setTabOrder(self.txtLeadTime, self.txtEstoqueMin)
        frmAddItem.setTabOrder(self.txtEstoqueMin, self.txtLoteReposicao)
        frmAddItem.setTabOrder(self.txtLoteReposicao, self.txtMultiploLote)
        frmAddItem.setTabOrder(self.txtMultiploLote, self.pushButton_2)
        frmAddItem.setTabOrder(self.pushButton_2, self.btnSalvar)

    def retranslateUi(self, frmAddItem):
        frmAddItem.setWindowTitle(QtGui.QApplication.translate("frmAddItem", "Incluir Item", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("frmAddItem", "Incluir um novo Item", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("frmAddItem", "Descrição:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("frmAddItem", "Tipo de Reposição:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRepo.setItemText(0, QtGui.QApplication.translate("frmAddItem", "M - Manual", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRepo.setItemText(1, QtGui.QApplication.translate("frmAddItem", "A - Automática", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("frmAddItem", "Tipo de Ordem:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbOrdem.setItemText(0, QtGui.QApplication.translate("frmAddItem", "F - Fabricação", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbOrdem.setItemText(1, QtGui.QApplication.translate("frmAddItem", "C - Compra", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("frmAddItem", "Unidade de Medida:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("frmAddItem", "Estoque de Segurança:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("frmAddItem", "Data de Criação:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("frmAddItem", "Data Última Atualização:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("frmAddItem", "Classificação ABC:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("frmAddItem", "Lead Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("frmAddItem", "Estoque mínimo:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("frmAddItem", "Lote reposição:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("frmAddItem", "Múltiplo do Lote:", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_2.setText(QtGui.QApplication.translate("frmAddItem", "Limpar", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSalvar.setText(QtGui.QApplication.translate("frmAddItem", "Salvar", None, QtGui.QApplication.UnicodeUTF8))

